package com.yuanhua.sim.business.service;

import com.yuanhua.sim.business.entity.MsgContent;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanhua.sim.business.vo.MsgViewVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuanhua
 * @since 2022-08-03
 */
public interface MsgContentService extends IService<MsgContent> {

    /**
     * 获取用户消息
     * @param:
     * @param userId 用户id
     * @param otherId 对方id
     * @return: java.util.List<com.yuanhua.sim.business.vo.MsgViewVO>
     * @author songguoxiang
     * @date: 2022/8/15 14:45
     */
    List<MsgViewVO> getUserMsg(Long userId, Long otherId);
}
